package zhh.tangbao.auxiliary.vo.statistics;

import lombok.Data;
import zhh.tangbao.auxiliary.entity.DataStatisticsLog;
import zhh.tangbao.auxiliary.entity.DataStatisticsLogCommodity;

import java.util.List;

/**
 * <p>
 * 描述
 * </p>
 *
 * @author 粥灰灰
 * <p>2023/4/27</p>
 */

@Data
public class DataStatisticsInfoVo extends DataStatisticsLog {

    List<DataStatisticsLogCommodity> commodities;

    public DataStatisticsInfoVo() {
    }

    public DataStatisticsInfoVo(DataStatisticsLog log) {
        super(log.getId(), log.getRecordTime(), log.getRecordStartTime(), log.getRecordEndTime());
    }

}
